<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@include file="/WEB-INF/jsp/common/head.jsp" %>
<div class="right">
    <div class="location">
        <strong>当前页面:</strong>
        <span>发送公文页面</span>
    </div>
    <div class="productAdd">

            <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/statics/css/style.css?v=<%= System.currentTimeMillis()%>" />
            <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/statics/css/public.css?v=<%= System.currentTimeMillis()%>" />


    <%--        <form id="productForm" name="productForm" method="post" action="customerAction_save">--%>
            <!--div的class 为error是验证错误，ok是验证成功-->

            <div>
                <label for="receiveUser">收件人：</label>
                <select name="receiveUser" id="receiveUser">
                    <c:forEach items="${users}" var="u">
                        <option value="${u.name}">${u.name}</option>
                    </c:forEach>
                </select>
                <!-- 放置提示信息 -->
                <font color="red"></font>

            </div>

            <div>
                <label for="title">标题：</label>
                <input type="text" name="title" id="title" value="">
                <!-- 放置提示信息 -->
                <font color="red"></font>
            </div>
            <div>
                <label for="filePath">文件：</label>
<%--                <input type="text" name="filePath" id="filePath" value="" disabled>--%>
                <font color="red"></font>
                <input type="file" value="选择文件" name="filePath" id="filePath" onchange="getFile()">
            </div>


            <div>
                <label>密级：</label>
                <select name="fileLevel" id="fileLevel">
                    <option value="普通" selected="selected">普通</option>
                    <option value="秘密">秘密</option>
                    <option value="机密">机密</option>
                    <option value="绝密">绝密</option>
                </select>

            </div>

            <div class="productAddBtn">
                <input type="submit" name="add" id="add" value="发送">

            </div>

            <div>
                <img class="wRule" src="${pageContext.request.contextPath }/statics/images/rule.png" alt=""/>
            </div>
<%--        </form>--%>
    </div>
</div>
</section>

<%@include file="/WEB-INF/jsp/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/senddocument.js"></script>
